package com.label.Service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.label.Model.Do.Role;
import com.label.Model.Query.RoleQuery;

import java.util.List;

public interface RoleService extends IService<Role> {

    public List<Role> getAllRole();

    public List<Role> getRoleById(RoleQuery roleQuery);

    public Boolean addRole(RoleQuery roleQuery);

    public Boolean delRole(RoleQuery roleQuery);

    public Boolean updateRole(RoleQuery roleQuery);

    List<Role> getRoleByUser(Long userId);
}
